<?php

use yii\db\Migration;

class m170222_013441_alter_login_auth extends Migration
{
    public function safeUp()
    {
        $this->addColumn('{{%login_auth}}','mode','tinyint(2)  default 0 comment \'所属类型（1共同体 2综合体 3管弦乐）\'');
    }

    public function safeDown()
    {
        $this->dropColumn('{{%login_auth}}','mode');
    }
}
